import Vue from "vue"
import moment from "moment"
Vue.filter("daterFormat", function(dateStr, pattern = "YYYY-MM-DD HH:mm:ss") {
    return moment(dateStr).format(pattern)
})